const mongoose = require('mongoose')
const goodsSchema = new mongoose.Schema({
    "productId":String,
	"productName":String,
	"salePrice":Number,
	"productImage":String,
     // 是否选中
	"checked":{
		type:String,
		default:1
	},
	// 数量
	"productNum":Number,
	// 商品库存
	"productCount":Number
}, {timestamps: true})
module.exports = mongoose.model('Goods', goodsSchema)